package hoyo.zqy.system.mapper;

import hoyo.zqy.system.domain.Role;
import hoyo.zqy.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zqy
 * @since 2022-11-10
 */
public interface RoleMapper extends BaseMapper<Role> {
    //删除角色所有权限
    void delPermissByRoleId(Long id);
    //删除角色菜单权限
    void delMenuRoleById(Long id);
    //添加角色所有权限
    void addPermissons(Role role);
    //添加角色菜单权限
    void addMenus(Role role);
}
